<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>个人博客模板（寻梦）</title>
    <meta name="keywords" content="个人博客模板,博客模板" />
    <meta name="description" content="寻梦主题的个人博客模板，优雅、稳重、大气,低调。" />
    <link href="<?php echo C('CSS_URL');?>base.css" rel="stylesheet">
    <link href="<?php echo C('CSS_URL');?>index.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="<?php echo C('JS_URL');?>modernizr.js"></script>
    <![endif]-->
</head>
<body>
<header>
    <div id="logo"><a href="/"></a></div>
    <nav class="topnav" id="topnav">
        <a href="<?php echo U('Index/index');?>"><span>首页</span><span>Index</span></a>
        <?php if(is_array($cate_info)): foreach($cate_info as $key=>$v): ?><a href="/index.php/Home/<?php echo ($v["cate_description"]); ?>/showlist/cate_id/<?php echo ($v["cate_id"]); ?>"><span><?php echo ($v["cate_name"]); ?></span><span class="en"><?php echo ($v["cate_description"]); ?></span></a><?php endforeach; endif; ?>
    </nav>
</header>



<link href="<?php echo C('CSS_URL');?>new.css" rel="stylesheet">
<article class="blogs">
  <h1 class="t_nav"><span>您当前的位置：<a href="<?php echo U('Index/index');?>">首页</a>&nbsp;&gt;&nbsp;<a href="<?php echo U('Mood/showlist',array('cate_id'=>$info['cate_id']));?>">心情寄语</a>&nbsp;&gt;&nbsp;日记</span><a href="/" class="n1">网站首页</a><a href="<?php echo U('Mood/showlist',array('cate_id'=>$info['cate_id']));?>" class="n2">心情寄语</a></h1>
  <div class="index_about">
    <h2 class="c_titile"><?php echo ($info["blog_title"]); ?></h2>
    <p class="box_c"><span class="d_time">发布时间：<?php echo (date('Y-m-d',$info["add_time"])); ?></span><span>编辑：<?php echo ($info["author_name"]); ?></span></p>
    <ul class="infos">
      <?php echo ($info["blog_content"]); ?>
    </ul>
    <div class="ad"> </div>
    <div class="nextinfo">
      <p>上一篇：<a href="/index.php/Home/Life/showlist/cate_id/<?php echo ($pre_info["cate_id"]); ?>/blog_id/<?php echo ($pre_info["blog_id"]); ?>"><?php echo ($pre_info["blog_title"]); ?></a></p>
      <p>下一篇：<a href="/index.php/Home/Life/showlist/cate_id/<?php echo ($next_info["cate_id"]); ?>/blog_id/<?php echo ($next_info["blog_id"]); ?>"><?php echo ($next_info["blog_title"]); ?></a></p>
    </div>
  </div>
  <aside class="right">
    <!-- Baidu Button BEGIN -->
    <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare"><a class="bds_tsina"></a><a class="bds_qzone"></a><a class="bds_tqq"></a><a class="bds_renren"></a><span class="bds_more"></span><a class="shareCount"></a></div>
    <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6574585" ></script> 
    <script type="text/javascript" id="bdshell_js"></script> 
    <script type="text/javascript">
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/<?php echo C('JS_URL');?>shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script> 
    <!-- Baidu Button END -->
    <div class="blank"></div>
    <div class="news">
      <h3>
        <p>最新<span>文章</span></p>
      </h3>
      <ul class="rank">
        <?php if(is_array($news_blog)): foreach($news_blog as $key=>$v): ?><li><a href="/index.php/Home/<?php echo ($v["cate_description"]); ?>/showlist/cate_id/<?php echo ($v["cate_id"]); ?>/blog_id/<?php echo ($v["blog_id"]); ?>" title="<?php echo ($v["blog_title"]); ?>" target="_blank"><?php echo ($v["blog_title"]); ?></a></li><?php endforeach; endif; ?>
      </ul>
      <h3>
        <p>最新<span style="color:green;">相册</span></p>
      </h3>
      <ul class="rank">
        <?php if(is_array($pics_info)): foreach($pics_info as $key=>$v): ?><div class="img-box" style="float: left; margin:2px;">
            <a href="/index.php/Home/<?php echo ($v["cate_description"]); ?>/showlist/cate_id/<?php echo ($v["cate_id"]); ?>/pics_id/<?php echo ($v["pics_id"]); ?>" alter="图片不存在">
              <img style="width:120px; height:100px;" src="<?php echo (substr($v["pics_logo"],1)); ?>" />
            </a>
            <p class="title" style="text-align: left;font-size:10px;">
              相册名称：&nbsp;&nbsp;&nbsp;&nbsp;<a href="/index.php/Home/<?php echo ($v["cate_description"]); ?>/showlist/cate_id/<?php echo ($v["cate_id"]); ?>/pics_id/<?php echo ($v["pics_id"]); ?>" style="color:green;"><?php echo ($v["pics_name"]); ?></a>
            </p>
          </div><?php endforeach; endif; ?>
      </ul>
        <h3>
            <p>最近<span style="color:green;">访客</span></p>
        </h3>
        <ul class="rank">
        </ul>
    </div>
  </aside>
</article>

<footer>
    <p>本站的模板来源于： <a href="http://www.mycodes.net/" title="源码之家" target="_blank" style="color:green;">源码之家</a> </p>
</footer>
<script src="<?php echo C('JS_URL');?>silder.js"></script>
</body>
</html>